package other.callback;

/**
 * @author 王霄
 * @date 2021/9/16 16:36
 **/
public class Test {

    public static void main(String[] args) {
        Request request = new Request();
        request.getCallBack().callback(request, new Response(500));
        request.getCallBack().callback(request, new Response(200));
        request.getCallBack().onTimeout(request);
    }
}
